<div ng-controller="MarkdownController">
  <div ng-if="node.state == 'edit'" on-alt-enter="renderNode(node)">
    <textarea ng-model="node.source" class="shell-textarea" auto-focus scroll-to
              split-list ></textarea>
  </div>
  <div ng-if="node.state != 'edit'"
       ng-bind-html="trustedHTMLString"
       ng-dblclick="editNode(node)"></div>
</div>
